<template>
  <div class='home-skeleton'>
    <div
      class="item"
      v-for="i in 4"
      :key="i"
    >
      <XtxSkeleton
        width="306px"
        height="306px"
      />
      <XtxSkeleton
        width="160px"
        height="24px"
      />
      <XtxSkeleton
        width="120px"
        height="24px"
      />
    </div>
  </div>
</template>

<script>
export default {
  name: 'HomeSkeleton'
}
</script>

<style scoped lang='less'>
.home-skeleton {
  width: 1240px;
  height: 406px;
  display: flex;
  justify-content: space-between;
  .item {
    width: 306px;
    .xtx-skeleton ~ .xtx-skeleton {
      display: block;
      margin: 16px auto 0;
    }
  }
}
</style>
